package com.rota.mapper;

import com.rota.domain.ArticleType;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface ArticleTypeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ArticleType record);

    ArticleType selectByPrimaryKey(Long id);

    List<ArticleType> selectAll();

    int updateByPrimaryKey(ArticleType record);

	List<ArticleType> getArticleTypeList();

	ArticleType getArticleTypeByCode(String articleType);
}